package xyz.wanwanwan.www.hrm.service;

import xyz.wanwanwan.www.hrm.dto.SMSCodeDto;
import xyz.wanwanwan.www.hrm.util.AjaxResult;

import java.io.IOException;

public interface IVerifycodeService {
    /**
     * 获取图片验证码
     * @param imageCodeKey
     */
    String getImageCode(String imageCodeKey) throws IOException;

    /**
     * 获取短信验证码
     * @param smsCodeDto
     * @return
     */
    AjaxResult sendSmsCode(SMSCodeDto smsCodeDto);
}
